package com.nineclock.system;

import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysCompanyContactConfigDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "企业通讯录字段配置", tags = "系统服务", description = "企业通讯录字段配置")
public interface SysCompanyContactControllerApi {
    @ApiOperation(value = "======新增 企业通讯录字段")
    public Result addCompanyContactConfig(SysCompanyContactConfigDTO sysCompanyContactConfigDTO);

    @ApiOperation(value = "======查询并初始化 企业通讯录字段")
    public Result<List<SysCompanyContactConfigDTO>> getCompanyContactConfig();

    @ApiOperation(value = "======修改 通讯录字段状态")
    public Result updateCompanyContactConfig(Long id, Short stauts);

    @ApiOperation(value = "======删除 通讯录字段状态")
    public Result deleteCompanyContactConfig(Long id);
}
